package com.jiukuaidao.zhulin.comm;

import javax.xml.parsers.FactoryConfigurationError;

/**
 * Author : BinarySatan
 */
public class Constant {

    /***
     * 百度搜索用的 web api  (place api)
     */
    public static final String BAIDU_POI_SEARCH = "place/v2/search";
    /**
     * 根据定位返回的经纬度 来进行反解析.
     */
    public static final String BAIDU_GEOCODING = "geocoder/v2/";
    /**
     * 刷新用户信息
     */
    public static final String USER_INFO_REFRESH = "user/userinfoRefresh";
    /**
     * 登录
     */
    public static final String USER_LOGIN = "userLogin/login";
    /**
     * 快捷登录
     **/
    public static final String LOGIN_QUICK = "userLogin/mobileBind";
    /**
     * 注册
     **/
    public static final String USER_REGISTER = "userLogin/register";
    /**
     * 确认找回
     **/
    public static final String PASSWORD_FIND_GETBACK = "user/getback";
    /**
     * 忘记找回密码
     **/
    public static final String PASSWORD_FIND = "user/savePassword";
    /**
     * 设置密码
     **/
    public static final String PASSWORD_SET = "user/setPassword";
    /**
     * 修改密码
     **/
    public static final String PASSWORD_UPDATE = "user/modifyPassword";
    /**
     * 获取验证码
     */
    public static final String PHONE_CODE = "system/sendSMS";
    /**
     * 获取图形验证码
     */
    public static final String GRAPHIC_CODE = "system/graphicCode";
    /**
     * 验证图形码
     */
    public static final String VALIDATE_GRAPHIC = "system/validateGraphic";
    /**
     * 收货地址列表
     **/
    public static final String ADDRESS_LIST = "user/addressList";
    /**
     * 新增、修改地址
     */
    public static final String ADD_ADDRESS = "user/addAddress";
    /**
     * 删除地址
     */
    public static final String DEL_ADDRESS = "user/deleteAddress";
    /**
     * 首页banner和运营位
     */
    public static final String HOME_ACTANDADS = "home/adAct";

    /**
     * 首页商品列表
     */
    public static final String HOME_PROLIST = "home/goodsList";

    /**
     * 分类页获取分类列表
     */
    public static final String SORT_CATEGORY = "goods/category";

    /**
     * 分类页获取商品列表
     */
    public static final String SORT_PROLIST = "goods/searchAllInOne";

    /**
     * 订单列表
     */
    public static final String ORDER_LIST = "order/list";


    /**
     * 订单详情
     */
    public static final String ORDER_DETAIL = "order";


    /**
     * 订单签收
     */
    public static final String ORDER_RECEIPT = "order/sign";
    /**
     * 订单投诉
     */
    public static final String ORDER_COMPLAINT = "order/complaint";
    /**
     * 订单取消
     */
    public static final String ORDER_CANCEL = "order/cancelOrder";

    /**
     * 订单评价
     */
    public static final String ORDER_OPINION = "order/opinion";
    /**
     * 商品详情
     */
    public static final String GOODS_DETAIL = "goods/goodsInfo";
    /**
     * 商品评价
     */
    public static final String GOODS_COMMENTS = "goods/comments";
    /**
     * 购物车
     */
    public static final String SHOPPINGCART = "settlement";
    /**
     * 添加购物车
     */
    public static final String ADD_SHOPPINGCART = "cart";
    /**
     * 删除购物车
     */
    public static final String REDUCE_SHOPPINGCART = "cart/{pack}/{gn}";


    /**
     * 确认订单
     */
    public static final String CONFIRM_ORDER = "order";

    /**
     * 确认支付
     */
    public static final String CONFIRM_PAY = "pay/confirmPay";

    /**
     * 支付完成调用接口
     */
    public static final String ORDER_FINISH_PAY = "pay";

    /**
     * 获取城市列表
     */
    public static final String CITY_LIST = "shop/cityList";
}
